package com.zh.freechat.common.resp;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Set;

/**
 * @author ZH
 * @date 11:02 2022/2/24
 */
@Setter
@Getter
public class ChatMsgVO implements Serializable {
    private String msgId;
    private String sender;
    private String receiver;
    private String content;
    private Integer status;
    private Long convId;
    private Boolean urlRef;

    /**
     * 消息类型：0文本、1图片、2视频、3语音、4文件
     */
    private Integer type;

    /**
     * 当消息是群聊时，表示群编号
     */
    private String topicId;
    /**
     * 消息是不是群聊的
     */
    private Boolean isGroup;

    private String createTime;

    private Set<String> readsSign;
    private Set<String> removesSign;

}
